﻿using System;

namespace Ayatta.Contract.Domain
{
    #region OAuthUser

    public class OAuthUser : BaseEntity<int>
    {

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Guid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string OpenId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Scope { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string AccessToken { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string RefreshToken { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public DateTime? ExpirationTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Extra { get; set; }

    }

    #endregion

}